package com.cash.loan;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * api启动入口
 * @author Administrator
 * @Date 2018-07-05 10:25
 */
@SpringBootApplication
@EnableScheduling
public class CashApiApplication {

    private static final Logger log = LoggerFactory.getLogger(CashApiApplication.class);

    public static void main(String[] args) {
        new SpringApplicationBuilder(CashApiApplication.class)
                .web(true)
                .run(args);
        log.info("CashApiApplication started");
    }
}
